<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>后台权限主页</title>
  <link rel="stylesheet" href="../../Res/LayUI/css/layui.css">
  <script src="../../js/jquery-1.10.2.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">权限管理</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
	      <li class="layui-nav-item">
	        <a href="javascript:;">其它系统</a>
	        <dl class="layui-nav-child">
	          <dd><a href="">邮件管理</a></dd>
	          <dd><a href="">消息管理</a></dd>
	          <dd><a href="">授权管理</a></dd>
	        </dl>
	      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          ${user.manUser}
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">基本资料</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="../pages_xc/login.html">店长登录</a></li>
      <li class="layui-nav-item"><a href="../pages_xc/login.html">退了</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <ul class="layui-nav layui-nav-tree"  lay-filter="test">
      	
	       <li class="layui-nav-item layui-nav-itemed">
	          <a class="" href="javascript:;">权限管理</a>
	          <dl class="layui-nav-child">
	            <dd><a href="javascript:locUrl('../../pages/pages_xc/ManagerList.html');">用户管理</a></dd>
	            <dd><a href="javascript:locUrl('../../pages/pages_xc/RoleList.html');">角色管理</a></dd>
	            <dd><a href="javascript:locUrl('../../pages/pages_xc/ModuleList.html');">模块管理</a></dd>
	          </dl>
	        </li>
	        
	        <li class="layui-nav-item layui-nav-itemed">
	          <a class="" href="javascript:;">商家管理</a>
	          <dl class="layui-nav-child">
	            <dd><a href="javascript:locUrl('../../pages/meal/meal.html');">店铺管理</a></dd>
	            <dd><a href="javascript:locUrl('../../pages/meal/mealaudit.html');">开店审核</a></dd>
	          </dl>
	        </li>
	        
	        <li class="layui-nav-item layui-nav-itemed">
	          <a class="" href="javascript:;">会员管理</a>
	          <dl class="layui-nav-child">
	            <dd><a href="javascript:locUrl('../../pages/html/user.html');">会员管理</a></dd>
	          </dl>
	        </li>
	        
	        <li class="layui-nav-item layui-nav-itemed">
	          <a class="" href="javascript:;">菜品管理</a>
	          <dl class="layui-nav-child">
	            <dd><a href="javascript:locUrl('../../pages/food/food2.html');">菜品管理</a></dd>
	          </dl>
	        </li>
       	
        <li class="layui-nav-item">
          <a href="javascript:;">工作模块</a>
          <dl class="layui-nav-child">
          	<c:forEach items="${module}" var="mo" >
	            <dd><a href="${mo.url}">${mo.modName}</a></dd>
            </c:forEach>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="">云市场</a></li>
        <li class="layui-nav-item"><a href="">公司大数据</a></li>
      </ul>
    </div>
  </div>
  
  <div class="layui-body">
		<!-- 内容主体区域 -->
		<div style="padding: 15px;">
			<iframe src="../../Res/images/2.png" frameborder="0" id="demoAdmin" style="width:1000px;height:1000px;"></iframe>
		</div>
	</div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
<script src="../../Res/LayUI/layui.js"></script>
<script>
//JavaScript代码区域
layui.use('element', function(){
  var element = layui.element;
  
});

function locUrl(url){
	$("#demoAdmin").attr("src",url);
}

</script>
</body>
</html>